/**
 * GUI - Betingelser
 * @author Mikkel Christiansen
 */

package com.kea.firsthorse.client;

import com.google.gwt.user.client.ui.HTML;
import com.kea.firsthorse.shared.HorsePolicy;

public class GUI_Betingelser extends GUI_Master {
	public GUI_Betingelser(HorsePolicy horsepolicy) {
		super();

		add(new HTML("<h1>Betingelser</h1><hr>"));

		add(new HTML("<h3>Generelt</h3>"));
		add(new HTML(horsepolicy.getTerms_betingelser() + "<hr>"));

		add(new HTML("<h3>Særlige</h3>"));
		add(new HTML(horsepolicy.getTerms_saerlige() + "<hr>"));

		add(new HTML("<h3>Præmie</h3>"));
		add(new HTML("<b>Præmiebetaling: </b>" //TODO :: fikse præmiebetaling...
				+ "<br>"));
		add(new HTML("<b>Stempelafgift: </b>" + horsepolicy.getTerms_stempel()
				+ "<br><hr>"));

		add(new HTML("<h3>Skader</h3>"));
		add(new HTML(horsepolicy.getTerms_skader() + "<hr>"));

	}

}
